package meconsea.life.note.accessor;

import java.util.List;

import meconsea.life.note.entity.NoteInfo;
import meconsea.life.sys.accessor.BaseAccessor;
import meconsea.life.sys.accessor.IAccessor;

import com.google.inject.name.Named;
import com.wideplay.warp.persist.TransactionType;
import com.wideplay.warp.persist.Transactional;
import com.wideplay.warp.persist.dao.Finder;
import com.wideplay.warp.persist.dao.FirstResult;
import com.wideplay.warp.persist.dao.MaxResults;

public class NoteInfoAccessor extends BaseAccessor<NoteInfo, String> implements
		IAccessor<NoteInfo, String> {
	public NoteInfoAccessor(){
		super(NoteInfo.class);
	}
	
	@Finder(namedQuery=NoteInfo.NOTE_INFO_FIND_ALL)
	public List<NoteInfo> getAll(@FirstResult int first,@MaxResults int max){
		return null;
	}
	
	@Finder(namedQuery=NoteInfo.NOTE_INFO_FIND_BYUSER)
	public NoteInfo getNIByUser(@Named("userId") String userId){
		return null;
	}
	
	@Finder(namedQuery=NoteInfo.NOTE_INFO_FIND_COMMEND)
	public List<NoteInfo> getNICommend(@Named("isCommend") Integer isCommend,@FirstResult int first,@MaxResults int max){
		return null;
	}
}
